package com.tutu.controller.backend;

import com.tutu.utils.ConfigUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 总管理后台控制面板
 */
@Controller
@RequestMapping(value = "backend")
public class BackendIndexController {

    public static boolean refreshTokenStatus = ConfigUtil.getString("refresh.token").equals("true");

    @RequestMapping(value = "/dashboard")
    public String dashboard() {
        return "backend/home";
    }
}
